package com.ys.shop.dao;

import com.ys.shop.vo.VO;

import java.sql.SQLException;
import java.util.List;

public interface IDAO {
    boolean insert(VO vo)throws SQLException;

    List<VO> getAll() throws SQLException;

    boolean deleteByID(VO vo)throws SQLException;

    boolean update(VO vo)throws SQLException;

    VO getByID(VO vo)throws  SQLException;

}
